package com.cyl.manager.yee.convert;

import org.mapstruct.Mapper;
import com.cyl.manager.yee.domain.MerchantStatistics;
import com.cyl.manager.yee.pojo.dto.MerchantStatisticsDTO;
import com.cyl.manager.yee.pojo.vo.MerchantStatisticsVO;
import java.util.List;
/**
 * 费用统计  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface MerchantStatisticsConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    MerchantStatisticsDTO do2dto(MerchantStatistics source);

    /**
     * @param source DTO
     * @return DO
     */
    MerchantStatistics dto2do(MerchantStatisticsDTO source);

    List<MerchantStatisticsVO> dos2vos(List<MerchantStatistics> list);
}
